var __UIBattleResult_instance = null;
function getUIBattleResult() { return __UIBattleResult_instance; }

var UIBattleResult = function(){};

UIBattleResult.prototype.onDidLoadFromCCB = function()
{   
    cc.log("UIBattleResult.onDidLoadFromCCB");
    __UIBattleResult_instance = this;
};


UIBattleResult.prototype.onOpen = function(isOpen)
{	
	cc.log("UIBattleResult.onOpen isOpen:"+isOpen);
};

UIBattleResult.prototype.onOk = function()
{	
	cc.log("onOk");

	// 返回
	BattleManager.onBattleEnd(); 
	getUIMain().openUIBattleResult(false);
};